package com.li.shop.utils;
import com.li.shop.domain.Product;

import java.util.List;

public class SearchProductResponse {
    private long total;
    private List<Product>products;

    public SearchProductResponse(long total, List<Product> products) {
        this.total = total;
        this.products = products;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<Product> getproducts() {
        return products;
    }

    public void setEmployees(List<Product> products) {
        this.products = products;
    }
}
